<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>战队报名列表</title>
	<link rel="stylesheet" href="__PUBLIC__/css/main.css" />
    <script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/artDialog/artDialog.js?skin=default"></script>
    <script type="text/javascript">
        function memberDetail(gid)
        {
            var dialog = art.dialog({id: 'msgDetail',fixed:true,title: "战队成员详细信息",lock:true});
            $.ajax({
                url: '__URL__/playerlist/gid/'+gid,
                type: "GET",
                dataType:"html",
                success: function (data) {
                    dialog.content(data);
                },
                cache: false
            });
        }

    </script>
</head>
<body>

	<table cellpadding="0" cellspacing="0" border="1" class="dataTable" align="center">
		<tr><th colspan="8" style="text-align:center"><h3>英雄联盟全城冠军赛报名列表</h3></th></tr>
		<tr>
			<th>编号</th>
			<th>战队名称</th>
			<th>战队头像</th>
			<th>领队姓名</th>
			<th>联系QQ</th>
			<th>联系手机</th>
			<th>是否缴费</th>
			<th align="center">操作选项</th>
		</tr>
		<volist name="group_list" id="vo">
		<tr>
			<td>{$vo.gid}</td>
			<td><a href="javascript:memberDetail({$vo.gid});" class="blue">{$vo.group_name}</a></td>
			<td><img src="/{$vo.avatar}" alt="{$vo.group_name}" width="100" height="100"/></td>
			<td>{$vo.leader_name}</td>
			<td>{$vo.qq}</td>
			<td>{$vo.mobile}</td>
			<td>
				<if condition="$vo.ispayment eq 0 ">
					<font color="#CC3333">未付款</font>
				<else/>
					<font color="#339933">已付款</font>
				</if>
			</td>
			<td>
				<a href="javascript:if(confirm('确实要设置为已付款吗？')){ var url = '__URL__/setpayment/gid/{$vo.gid}';window.location.href=url;}" class="blue">设为已付款</a> | <a href="javascript:if(confirm('确实要删除吗？')){ var url = '__URL__/delgroup/gid/{$vo.gid}';window.location.href=url;}" class="blue">删除</a>
			</td>
		</tr>
		</volist>
	</table>
</body>
</html>